export default {
    prefix_api(state) {
        return import.meta.env.VITE_APP_API_URL
    },
    prefix_image(state) {
        return import.meta.env.VITE_APP_IMAGE_URL
    },
    is_login(state) {
        console.log(state)
        return state.token.length !== 0
    },
    userInfo(state) {
        return state.userInfo
    }
}